// 获取所有提交过的入驻资质信息
import { POST, PUT } from '@/api/common.js'

const baseURL = '/accounts/qualification'

// 获取所有提交过的入驻资质信息
export const getEntryQualificationList = (params, data) => {
  return POST({
    url: `${baseURL}/list`,
    data,
    params,
  })
}

// 更新用户提交的入驻资质信息审核状态
export const updateQualificationStatus = (data) => {
  return PUT({
    url: `${baseURL}`,
    data
  })
}
